﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreVirtuoso.Helpers
{
   internal static class SparqlOffsetAndLimitClauseHelper
   {
      public static string GetOffsetAndLimitClause(int page, int pageSize)
      {
         return String.Format("OFFSET {0} LIMIT {1}", (page - 1)*pageSize, pageSize);
      }
   }
}